/**
 * 
 */
package org.yelongframework.model.support.mybatis.service;

import java.util.Objects;

/**
 * 默认mybatis模型业务实现
 * 
 * @since 1.0.0
 */
public class DefaultMybatisModelService extends AbstractMybatisModelService {

	private String beanName = "jdbcModelService";

	public DefaultMybatisModelService(MybatisModelServiceConfiguration mybatisModelServiceConfiguration) {
		super(mybatisModelServiceConfiguration);
	}

	@Override
	public String getUUID() {
		return beanName;
	}

	/**
	 * @param beanName bean名称
	 */
	public void setBeanName(String beanName) {
		this.beanName = Objects.requireNonNull(beanName);
	}

}
